package com.qxbb.report.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @version 1.0
 * @author: pebble
 * @data 2023/9/29 15:19
 */
@Data
@TableName("chain_sales_order")
@NoArgsConstructor
public class ChainSalesOrder {

    private Integer id;

    /**
     * 连锁店id
     */
    private Integer chainStoreId;

    /**
     * 销售人员id
     */
    private Integer chainSalerId;

    /**
     * 账户类别id
     */
    private Integer accountTypeId;

    /**
     * 备注
     */
    private String memo;

    /**
     * 现金
     */
    private Double cashAmount;

    /**
     * 预存款
     */
    private Double chainPrepaidAmount;

    /**
     *
     */
    private Integer vipPrepaidAmount;

    /**
     * 折扣
     */
    private Double discountAmount;

    /**
     * 代金卷
     */
    private Double coupon;

    /**
     * 找零
     */
    private Double returnAmount;

    /**
     * 刷卡
     */
    private Double cardAmount;

    /**
     * 微信
     */
    private Double wechatAmount;

    /**
     * 支付宝
     */
    private Double alipayAmount;

    /**
     * 单据日期
     */
    private Date  orderDate;

    private Integer orderType;

    /**
     * vip卡id
     */
    private Integer vipCardId;

    /**
     * vip卡号
     */
    private Integer vipCardNo;

    /**
     * 状态
     */
    private Integer status;

    /**
     * 销售数量
     */
    private Integer totalQuantity;

    /**
     *退货数量
     */
    private Integer totalQuantityR;

    /**
     * 赠送数量
     */
    private Integer totalQuantityF;

    /**
     * 销售金额
     */
    private Double totalAmount;

    /**
     * 退货金额
     */
    private Double totalAmountR;

    /**
     * 净销售金额
     */
    private Double netAmount;

    private Double netAmountR;

    /**
     * 净销售总成本
     */
    private double totalCost;

    /**
     * 净销售成本
     */
    private Double totalCostFree;

    /**
     *
     */
    private Double ExtralVipScore;

    /**
     * 单据创建日期
     */
    private Double orderCreateDate;

    /**
     * 积分换现金
     */
    private Double vipScore;

    /**
     *
     */
    private Integer totalQuantityA;

    private Double netAmountA;

    /**
     * 总部货品净数量
     */
    private Integer qxQuantity;

    /**
     * 总部货品净金额
     */
    private Double qxAmount;

    private Double qxCost;

    private Integer myQuantity;

    private Double myAmount;

    private Double myCost;

    private Integer orderCreator;

}
